﻿using Newtonsoft.Json;
using Pay.TO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.DTO {
    /// <summary>
    /// 收款信息
    /// </summary>
    [JsonObject(MemberSerialization.OptOut)]
    [Serializable]
    public class merchant_receivables_dto {
        public long id { get; set; }
        /// <summary>
        /// 用户id
        /// </summary>
        public long merchant_id { get; set; }
        /// <summary>
        /// 账户
        /// </summary>
        public string account_name { get; set; }
        /// <summary>
        /// 银行卡号
        /// </summary>
        public string card_no { get; set; }
        /// <summary>
        /// 银行信息
        /// </summary>
        public string bank_name { get; set; }
        /// <summary>
        /// 支行名称
        /// </summary>
        public string branch_name { get; set; }
        /// <summary>
        /// 省市区id
        /// </summary>
        public long region_id { get; set; }
        /// <summary>
        /// 省市区
        /// </summary>
        public string region_name { get; set; }
        /// <summary>
        /// 支行地址
        /// </summary>
        public string branch_address { get; set; }
        /// <summary>
        /// 联系方式
        /// </summary>
        public string mobile { get; set; }
        /// <summary>
        /// 微信二维码
        /// </summary>
        public string wechat_qr_url { get; set; }
        /// <summary>
        /// 支付宝账号
        /// </summary>
        public string ali_pay_account { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime create_time { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime update_time { get; set; }
    }
    /// <summary>
    /// 收款信息
    /// </summary>
    public class recivables_dto {
        /// <summary>
        /// 用户id
        /// </summary>
        public long merchant_id { get; set; }
        /// <summary>
        /// 账户
        /// </summary>
        public string account_name { get; set; }
        /// <summary>
        /// 银行卡号
        /// </summary>
        public string card_no { get; set; }
        /// <summary>
        /// 银行信息
        /// </summary>
        public string bank_name { get; set; }
        /// <summary>
        /// 支行名称
        /// </summary>
        public string branch_name { get; set; }
        /// <summary>
        /// 省市区id
        /// </summary>
        public long region_id { get; set; }
        /// <summary>
        /// 省市区
        /// </summary>
        public string region_name { get; set; }
        /// <summary>
        /// 支行地址
        /// </summary>
        public string branch_address { get; set; }
        /// <summary>
        /// 联系方式
        /// </summary>
        public string mobile { get; set; }
        /// <summary>
        /// 微信二维码
        /// </summary>
        public string wechat_qr_url { get; set; }
        /// <summary>
        /// 支付宝账号
        /// </summary>
        public string ali_pay_account { get; set; }
    }
    [Serializable]
    public class merchant_receivables_dto_ex : merchant_receivables_dto {
        /// <summary>
        /// 支行完整地址
        /// </summary>
        public string full_branch_address { get; set; }
    }
}
